import request from '@/utils/request'

// 查询美导一个月的排班
//params: monthDate guideID
export function getGdGuideDetailSchedule (params) {
    return request({
        url: '/api/v1/gdguidedetailschedule',
        method: 'get',
        params
    })
}


// 查询GdGuideSchedule列表
export function listGdGuideSchedule(query) {
    return request({
        url: '/api/v1/gdguideschedule',
        method: 'get',
        params: query
    })
}

// 查询GdGuideSchedule详细
export function getGdGuideSchedule (ID) {
    return request({
        url: '/api/v1/gdguideschedule/' + ID,
        method: 'get'
    })
}




// 新增GdGuideSchedule
export function addGdGuideSchedule(data) {
    return request({
        url: '/api/v1/gdguideschedule',
        method: 'post',
        data: data
    })
}

// 修改GdGuideSchedule
export function updateGdGuideSchedule(data) {
    return request({
        url: '/api/v1/gdguideschedule/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdGuideSchedule
export function delGdGuideSchedule(data) {
    return request({
        url: '/api/v1/gdguideschedule',
        method: 'delete',
        data: data
    })
}

